const {MilvusClient} = require('@zilliz/milvus2-sdk-node');
//创建客户端
const milvusClient = new MilvusClient({
    address:'localhost:19530',
    timeout:100000
})
async function testConnection() {
    //列出当前的哪些数据库
    const result = await milvusClient.listDatabases();
    console.log(result.db_names);


}
testConnection();